package com.quick.eventhandler;

import com.lmax.disruptor.EventHandler;
import com.quick.event.LongEvent;

/**
 * @ClassName LongEventHandler
 * @Description TODO
 * @Author wangxin43
 * @Date 2018/5/24 上午10:05
 * @Version 1.0
 **/
public class LongEventHandler implements EventHandler<LongEvent> {

    @Override
    public void onEvent(LongEvent longEvent, long l, boolean b) throws Exception {
        System.out.println(longEvent.getValue());
    }
}
